﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.SqlClient;
using jiaju.Models;
using jiaju.Models.DBModel;
using jiaju.Models.DAL;
namespace jiaju.Controllers
{
    public class ProductDetailController : Controller
    {
        //商品详情
        // GET: ProductDetail
        public ActionResult Index(int Id)
        {
            ProductTypeService Pro = new ProductTypeService();
            Product lsit = Pro.GETById(Id);
            ViewBag.A = lsit;
            List<Picutre> list = ProductTypeService.getPicutre();
            ViewBag.B = list;
            return View();
        }
    }
}